package org.gardenXml.diMap;

import java.util.List;
import java.util.Map;

public class Student {
    private Map<String, Teacher> teacherMap;
    private List<Lesson> lessons;
    private String sId;
    private String tId;

    public List<Lesson> getLessons() {
        return lessons;
    }

    public void setLessons(List<Lesson> lessons) {
        this.lessons = lessons;
    }

    private String sName;

    public Map<String, Teacher> getTeacherMap() {
        return teacherMap;
    }

    public void setTeacherMap(Map<String, Teacher> teacherMap) {
        this.teacherMap = teacherMap;
    }

    public String gettId() {
        return tId;
    }

    public void settId(String tId) {
        this.tId = tId;
    }

    public void studentRun() {
        System.out.println("学生是：" + sId + sName);
        System.out.println(teacherMap.toString());
        System.out.println(lessons.toString());
    }


    public String getsId() {
        return sId;
    }

    public void setsId(String sId) {
        this.sId = sId;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }
}
